package com.apexedu.sys.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * TSysReportfactory entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "T_SYS_REPORTFACTORY")
public class TSysReportfactory implements java.io.Serializable {

	// Fields

	private String wid;
	private String chartname;
	private String code;
	private String querysql;
	private String applicablerole;
	private String shuom;
	private String state;
	private String images;
	private String charttype;
	private String analysisofitem;
	private String groupingconditions;

	private String usrtype;

	// Constructors

	/** default constructor */
	public TSysReportfactory() {
	}

	/** minimal constructor */
	public TSysReportfactory(String wid) {
		this.wid = wid;
	}

	/** full constructor */
	public TSysReportfactory(String wid, String chartname, String code, String querysql, String applicablerole,
			String shuom, String state, String images, String charttype, String analysisofitem,
			String groupingconditions) {
		this.wid = wid;
		this.chartname = chartname;
		this.code = code;
		this.querysql = querysql;
		this.applicablerole = applicablerole;
		this.shuom = shuom;
		this.state = state;
		this.images = images;
		this.charttype = charttype;
		this.analysisofitem = analysisofitem;
		this.groupingconditions = groupingconditions;
	}

	// Property accessors
	@Id
	@Column(name = "WID", unique = true, nullable = false, length = 50)
	public String getWid() {
		return this.wid;
	}

	public void setWid(String wid) {
		this.wid = wid;
	}

	@Column(name = "CHARTNAME", length = 50)
	public String getChartname() {
		return this.chartname;
	}

	public void setChartname(String chartname) {
		this.chartname = chartname;
	}

	@Column(name = "CODE", length = 50)
	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "QUERYSQL", length = 2000)
	public String getQuerysql() {
		return this.querysql;
	}

	public void setQuerysql(String querysql) {
		this.querysql = querysql;
	}

	@Column(name = "APPLICABLEROLE", length = 200)
	public String getApplicablerole() {
		return this.applicablerole;
	}

	public void setApplicablerole(String applicablerole) {
		this.applicablerole = applicablerole;
	}

	@Column(name = "SHUOM", length = 200)
	public String getShuom() {
		return this.shuom;
	}

	public void setShuom(String shuom) {
		this.shuom = shuom;
	}

	@Column(name = "STATE", length = 1)
	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Column(name = "IMAGES", length = 200)
	public String getImages() {
		return this.images;
	}

	public void setImages(String images) {
		this.images = images;
	}

	@Column(name = "CHARTTYPE", length = 50)
	public String getCharttype() {
		return this.charttype;
	}

	public void setCharttype(String charttype) {
		this.charttype = charttype;
	}

	@Column(name = "ANALYSISOFITEM", length = 2000)
	public String getAnalysisofitem() {
		return this.analysisofitem;
	}

	public void setAnalysisofitem(String analysisofitem) {
		this.analysisofitem = analysisofitem;
	}

	@Column(name = "GROUPINGCONDITIONS", length = 1000)
	public String getGroupingconditions() {
		return this.groupingconditions;
	}

	public void setGroupingconditions(String groupingconditions) {
		this.groupingconditions = groupingconditions;
	}

	@Transient
	public String getUsrtype() {
		return this.usrtype;
	}

	public void setUsrtype(String usrtype) {
		this.usrtype = usrtype;
	}

}